<div style="padding:10px;font-size:10pt;" class="color">
{messages block='upload'}
{if count($aCountries)}
{language text="here_is_your_flag_database_for_your"} <br /> {language text="total"}: {$iCnt}

<br /><br />
{if !$bUploading}
<form method="post" action="{url link='admin.extra.flagdb'}">
<select name="country" onchange="submit();">
<option value="">{language text="select_country"}</option>
{html_options options=$aCountries}
</select>
</form>
{else}
<form method="post" action="{url link='admin.extra.flagdb'}" enctype="multipart/form-data">
<input type="hidden" name="act[upload]" value="1" />
<input type="hidden" name="country" value="{$sCountry}" />
<b>{language text="uploading_flag_for"}:</b> {$sCountry} 
( <a href="http://images.google.com/images?q={$sCountry}+Flag&svnum=10&hl=en&lr=&safe=off&sa=G&imgsz=icon" target="_blank">
{language text="search_online"}</a> )

<div style="padding:20px;">
{language text="get_flag_image"}: <input type="file" name="image" /> <input type="submit" value="{language text="upload_flag"}" />

<br /><br />
<b>{language text="note"}:</b> {language text="flag_has_to_be_max_18x12_pixels_and"}
</div>
</form>
{/if}
{else}
{language text="no_missing_flags_you_have_every_fla"}
{/if}
</div>